package robocup.component.speechacts.coachlanguage;

import java.util.LinkedList;

public class AdviceMessage {

  private LinkedList<Tok> tokList = new LinkedList<Tok>();

  public void addTok(final Tok tok) {

    this.tokList.add(tok);
  }

  public LinkedList<Tok> getTokList() {

    return this.tokList;
  }

  public void setTokList(final LinkedList<Tok> tokList) {

    this.tokList = tokList;
  }

  @Override
  public String toString() {

    final StringBuffer buf = new StringBuffer();
    buf.append("(advice ");
    for (final Tok t : this.tokList) {
      buf.append(t.toString());
    }
    buf.append(")");
    return buf.toString();
  }

}